import random
suit=['C','D','H','S']
number=['A','2','3','4','5','6','7','8','9','10','J','Q','K']
card=[]
for i in suit:
    for j in number:
        card.append(i+j)
card.append('red_joker')
card.append('black_joker')
print(card)
#如何洗牌,这里用到random.choice的方法
p1=[]
p2=[]
p3=[]
p1=[random.choice(card) for i in range(17)]
for i in p1:
    card.remove(i)
p2=[random.choice(card) for i in range(17)]
for i in p2:
    card.remove(i)
p3=[random.choice(card) for i in range(17)]
for i in p3:
    card.remove(i)
print(p1)
print(p2)
print(p3)